/*
 * Function1D.h
 *
 *  Created on: 2012/7/28
 *      Author: soniclin
 */

#ifndef FUNCTION_1D_H
#define FUNCTION_1D_H

#include "../../sMathLib/Vector3/Vector3.hpp"
#include "../Sphere.h"

namespace ibm
{

template<typename T>
class Function1D
{
public:

	Function1D(T inDrift_in = 0.5, T inDrift_out = 0.5);

	T operator()(const sMathLib::VectorX<int, 3>& iPos, const Sphere<T, ImmersedObject>& sphere);

	//virtual ~Function1D();

private:

	T drift_in, drift_out;

};

}
#endif /* FUNCTION1D_H */
